#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author:jidi
@file:base_page.py
@time:2022/09/21
"""
from selenium.webdriver.remote.webdriver import WebDriver


class BasePage:
    def __init__(self, driver: WebDriver = None):
        self.driver = driver

    def find(self, by, value):
        return self.driver.find_element(by, value)
